package com.dc.refactoring._2_在对象之间搬移特性._5_HideDelegate.oldObject;

/**
 * Description: 隐藏“委托关系”_ Person 类,通过 Person 获取其部门经理
 * @author: gdc
 * @date: 2020/11/15
 * @version 1.0
 */
public class Person {
    /**
     * 部门类引用
     */
    private Department department;

    public Department getDepartment() {
        return department;
    }
}
